home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / util / libs / shutdown.lha / shutdown_5.3 / src / shutdown_lib / makefile next >
Encoding:
Makefile  |  1996-12-05  |  467 b   |  22 lines

  1.  
  2. # from the libnixV1_1.lha archive (aminet):
  3. INCLUDE = -I/ADE/local/libnix/sources/headers
  4.  
  5. OBJS = /ADE/lib/libnix/libinit.o shutdown_library.o
  6. LIBS = -lamiga -lnix
  7. LIBFLAGS = -nostdlib -noixemul -O2 -fbaserel -msmall-code -fomit-frame-pointer
  8.  
  9. all:    shutdown.library
  10.  
  11. .c.o:
  12.     gcc $(LIBFLAGS) $(INCLUDE) $*.c -c -o $*.o
  13.  
  14. shutdown.library: $(OBJS)
  15.     gcc $(LIBFLAGS) $(OBJS) -o $@ $(LIBS)
  16.  
  17. clean:
  18.     delete \#?.o libs:shutdown.library
  19.  
  20. install:
  21.     copy shutdown.library libs:
  22.